package com.starinside.wp.service;

import com.starinside.wp.domain.TimeLineItem;
import com.starinside.wp.domain.liveRecord.RecordListVo;
import com.starinside.wp.domain.record.LiveRecord;
import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface LiveRecordService {

    public LiveRecord addLiveRecord(String title, String content, MultipartFile[] files, String childrenId, Integer mediaType, Integer category, String coursePlanId);

    public Page<RecordListVo> getLiveRecordsByChildrenId(String childrenId, Integer pageNum, Integer pageSize);

    Page<LiveRecord> getLiveRecordsByChildrenIds(String[] childrenId, Integer pageNum, Integer pageSize);

    public List<TimeLineItem> getTimeLineItemsByChildrenId(String childrenId, String beforeTime, Integer pageSize);

}
